package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.TrainReadCountResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  培训文章阅读量增加
* */


public class TrainReadCountApi extends AbsRequest<TrainReadCountApi.TrainReadCountParams, TrainReadCountResult> {

    public TrainReadCountApi(TrainReadCountParams addGRParams, Listener<TrainReadCountResult> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getTrainReadCountUrl(), addGRParams, listener, errorListener, TrainReadCountResult.class);
    }

    public static class TrainReadCountParams extends BaseParams {

        public TrainReadCountParams(String trainId) {


                put("TRAIN_ID", trainId);
        }
    }


}
